export interface loginFrom {
  username: string
  password: string
}
export interface DataType {
  token: string
}
export interface loginResponseData {
  code: number
  data: DataType
}
interface userInfo {
  userId: number
  avatar: string
  username: string
  password: string
  desc: string
  roles: string[]
  buttons: string[]
  routes: string[]
  token: string
}
export interface userInfoDataType {
  checkUser: userInfo
}
export interface userInfoResponseData {
  code: number
  data: userInfoDataType
}
